package com.zprmb.udzt.bean;

import org.json.JSONObject;

public class JiLu_Bean extends BaseBean<JiLu_Bean>{

	public String userName;
	public String amount;
	public String submitTime;
	
	public JiLu_Bean parseJSON(JSONObject inputJsonObj,String type) {
		if (type.equals("uplan")) {
			userName = inputJsonObj.optString("loginName");
			amount = inputJsonObj.optString("amount");
			submitTime = inputJsonObj.optString("submitTime");
		}else {
			amount = inputJsonObj.optString("amount");
			submitTime = inputJsonObj.optString("time");
			userName = inputJsonObj.optString("loginName");
		}
		return this;
	}

	public JiLu_Bean parseJSON(JSONObject inputJsonObj) {
		return null;
	}
}
